package io.github.talelin.latticy.conf;

import io.github.talelin.latticy.common.pojo.RabbitModuleInfo;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @authoer:wulongbo
 * @createDate:2022/7/27
 * @description:
 */
@ConfigurationProperties(prefix = "spring.rabbitmq")
@Data
@Component
public class RabbitModuleProperties {
    private List<RabbitModuleInfo> modules;
}
